package com.ljm.ljm_crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;



@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("permission")
public class Permission extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer permId;
    private String permName;
    private String url;
    private String permission;

    @Override
    public String toString() {
        return "Permission{" +
                "permId=" + permId +
                ", permName='" + permName + '\'' +
                ", url='" + url + '\'' +
                ", permission='" + permission + '\'' +
                ", createTime='" + getCreateTime() + '\'' +
                ", updateTime='" + getUpdateTime() + '\'' +
                ", isDel='" + getIsDel() + '\'' +
                '}';
    }


}
